| Interface | Description |
|---|---|
| SelfSerializable |
This is based on pretty similar concept as regular
Serializable is! However this interface is meant to create its instance programmatically via constructor!
So condition of using this is that array of objects returned by SelfSerializable.serialize() must be applicable for some public constructor of certain class implementing this!
Specific instances of this interface will be created by calling that public constructor! This is done reflectively by SelfSerializableProtocol! |
| Class | Description |
|---|---|
| AutoProtocol<T> |
This is automatic protocol that will automatically serialize every or selected field in object that has valid and public getter and setter!
This protocol is applicable on anything you want however condition of use is absence of final field otherwise
AutoProtocol.createBlankInstance(Class) should be overridden. |
| EnumProtocol |
EnumProtocol is universal protocol to serialize any enumerator (
Collection instance). |
| ListProtocol |
ListProtocol is universal protocol to serialize any
Collection instance. |
| MapProtocol | |
| ScopeProtocol |
ScopeProtocol is universal protocol to serialize any
Scope instance. |
| SelfSerializableProtocol |
SelfSerializableProtocol is universal protocol to serialize any
SelfSerializable instance. |
| SerializationProtocol<T> |
This object supposed to be use for serializing and unserializing objects in Java by turning them in to array of Objects that can be serialized by
Serializer and also turn array of these objects back in to that very same Object! Instance of SerializationProtocol should be registered into Serializer.PROTOCOL_REGISTRY in order to work, also only one instance of each SerializationProtocol should be used! Note: Protocols should not be serializable in any way! |
| StringProtocol |
StringProtocol is universal protocol to serialize any
CharSequence instance. |